package com.library.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Bookinfo entity. @author MyEclipse Persistence Tools
 */

public class Bookinfo implements java.io.Serializable {

	// Fields

	private Integer bookid;
	private Userinfo userinfo;
	private String bookname;
	private Integer bookkind;
	private Date starttime;
	private Date endtime;
	private Integer maxtime;
	private Integer overtime;
	private Integer status;
	// Constructors

	/** default constructor */
	public Bookinfo() {
	}

	/** minimal constructor */
	public Bookinfo(Integer bookid) {
		this.bookid = bookid;
	}

	/** full constructor */
	public Bookinfo(Integer bookid, Userinfo userinfo, String bookname,
			Integer bookkind, Date starttime,
			Date endtime, Integer maxtime, Integer overtime) {
		this.bookid = bookid;
		this.userinfo = userinfo;
		this.bookname = bookname;
		this.bookkind = bookkind;
		this.starttime = starttime;
		this.endtime = endtime;
		this.maxtime = maxtime;
		this.overtime = overtime;
	}

	// Property accessors

	public Integer getBookid() {
		return this.bookid;
	}

	public void setBookid(Integer bookid) {
		this.bookid = bookid;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public String getBookname() {
		return this.bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public Integer getBookkind() {
		return this.bookkind;
	}

	public void setBookkind(Integer bookkind) {
		this.bookkind = bookkind;
	}

	public Date getStarttime() {
		return this.starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return this.endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Integer getMaxtime() {
		return this.maxtime;
	}

	public void setMaxtime(Integer maxtime) {
		this.maxtime = maxtime;
	}

	public Integer getOvertime() {
		return this.overtime;
	}

	public void setOvertime(Integer overtime) {
		this.overtime = overtime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}